package com.zzyl.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class MyTask {

  @XxlJob("MyJob")
  public void myJob() {
    System.out.println("MyJob......");
  }


}